import Vue from 'vue'
import Router from 'vue-router'

import register from "../views/register";
import login from "../views/login";
import RetrievePw from "../views/RetrievePw";
import page from  "../views/page"
import personalTable from "../views/personalTable";
import WebForm from "../views/WebForm";
import guidePage from "../views/guidePage";
import staticPage from "../views/staticPage";
import modifyTable from "../views/modifyTable";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '/login',
      component: login
    },
    {
      path: "/modifyTable",
      name: "/modifyTable",
      component:modifyTable
    },
    {
      path: '/register',
      name: 'register',
      component: register
    }
    ,{
      path: '/RetrievePw',
      name: 'RetrievePw',
      component: RetrievePw
    },
    {
      path: '/personalTable',
      name: 'personalTable',
      component: personalTable
    },
    {
      path: '/guidePage',
      name: 'guidePage',
      component: guidePage
    },
    {
      path: '/WebForm',
      name: 'WebForm',
      component: WebForm
    }
    ,{
      path: '/page',
      name: 'page',
      component: page
    },{
      path: '/staticPage',
      name: 'staticPage',
      component: staticPage
    }
  ]
})
